#ifndef STRCONVERSION_H
#define STRCONVERSION_H

#include <QWidget>
#include <QLineEdit>

#include <DPushButton>
#include <DTextEdit>

DWIDGET_USE_NAMESPACE

class StrConversion : public QWidget
{
    Q_OBJECT
public:
    explicit StrConversion(QWidget *parent = nullptr);
    ~StrConversion();

    void initUi();
    QString addSpace(QString str);

public slots:
    void slotStrToHex();
    void slotHexToStr();

private:
    DTextEdit *m_firstEdit;
    DTextEdit *m_secondEdit;


};

#endif // STRCONVERSION_H
